import request from "@/utils/request";


//查询公告
export const getGonggao=()=>{
    return request.get('/admin')
}

// 修改公告
export const changeGonggao=(Id,Content)=>{
    return request.put('/admin',{
        announcementId:Id,
        annluncementContent:Content
    })
}